| Total Complexity | 40 |
| Dependencies | 7 |
| Dependents | 12 |
| Total lines | 339 |
| Lines of code | 154 |
| Logical lines of code | 98 |
| Comment lines | 115 |
| Methods | 14 |
| Properties | 2 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| create_coupon_for_spend_rule() | 38 | 15 | 72 | |
| get_rules_for_contact() | 53 | 7 | 23 | |
| get_coupons_by_user_id() | 55 | 5 | 20 | |
| get_discount_type() | 67 | 3 | 8 | |
| __construct() | 76 | 1 | 4 | |
| get_spend_rules_by_type() | 79 | 1 | 3 | |
| get_by_id() | 80 | 1 | 3 | |
| get_by_uuid() | 80 | 1 | 3 | |
| get_rules() | 80 | 1 | 3 | |
| get_spend_rule_by_leat_uuid() | 80 | 1 | 3 | |
| create_or_update() | 80 | 1 | 3 | |
| delete_spend_rule_by_leat_uuid() | 81 | 1 | 3 | |
| get_applicable_spend_rule() | 80 | 1 | 3 | |
| create_or_update_spend_rule_from_reward() | 80 | 1 | 3 |